import { request } from "@/utils/http";

// 获取验证码
export const requestGetCode = (phone) => {
  return request.get(`/api/user/passport/sendCode/${phone}`);
};

// 注册
export const requestRegister = (registerData) => {
  return request.post("/api/user/passport/register", registerData);
};
